home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / Tool Chest / Development Platforms / MPW Related / MPW Interfaces / CIncludes / Retrace.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-17  |  1.2 KB  |  64 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        Retrace.h
  3.  
  4.     Copyright:    © 1983-1993 by Apple Computer, Inc.
  5.                 All rights reserved.
  6.  
  7.     Version:    System 7.1 for ETO #11
  8.     Created:    Tuesday, March 30, 1993 18:00
  9.  
  10. */
  11.  
  12. #ifndef __RETRACE__
  13. #define __RETRACE__
  14.  
  15. #ifndef __TYPES__
  16. #include <Types.h>
  17. #endif
  18.  
  19. #ifndef __OSUTILS__
  20. #include <OSUtils.h>
  21. #endif
  22.  
  23.  
  24. typedef pascal void (*VBLProcPtr)(void);
  25.  
  26. struct VBLTask {
  27.     QElemPtr qLink;
  28.     short qType;
  29.     VBLProcPtr vblAddr;
  30.     short vblCount;
  31.     short vblPhase;
  32. };
  33.  
  34. typedef struct VBLTask VBLTask;
  35.  
  36.  
  37. #ifdef __cplusplus
  38. extern "C" {
  39. #endif
  40. #define GetVBLQHdr() ((QHdrPtr) 0x0160)
  41. #pragma parameter __D0 SlotVInstall(__A0,__D0)
  42. pascal OSErr SlotVInstall(QElemPtr vblBlockPtr,short theSlot)
  43.     = 0xA06F; 
  44. #pragma parameter __D0 SlotVRemove(__A0,__D0)
  45. pascal OSErr SlotVRemove(QElemPtr vblBlockPtr,short theSlot)
  46.     = 0xA070; 
  47. #pragma parameter __D0 AttachVBL(__D0)
  48. pascal OSErr AttachVBL(short theSlot)
  49.     = 0xA071; 
  50. #pragma parameter __D0 DoVBLTask(__D0)
  51. pascal OSErr DoVBLTask(short theSlot)
  52.     = 0xA072; 
  53. #pragma parameter __D0 VInstall(__A0)
  54. pascal OSErr VInstall(QElemPtr vblTaskPtr)
  55.     = 0xA033; 
  56. #pragma parameter __D0 VRemove(__A0)
  57. pascal OSErr VRemove(QElemPtr vblTaskPtr)
  58.     = 0xA034; 
  59. #ifdef __cplusplus
  60. }
  61. #endif
  62.  
  63. #endif
  64.